//
//  XLLLoginView.h
//  XLLogin
//
//  Created by 陈宪栋 on 2017/11/15.
//  Copyright © 2017年 BAOMIHUA.COM. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^XLLLoginViewBlock) (void);

@interface XLLLoginView : UIView

@property (copy, nonatomic) XLLLoginViewBlock LoginViewBlock;
@property (copy, nonatomic) XLLLoginViewBlock LoginViewBlock2;
@property (nonatomic, strong)NSString *isBangDing;//是绑定功能
//logo 背景图
@property (nonatomic, strong) UIImageView *headBackImageView;
@property (nonatomic, strong) UIImageView *logoImageView;
@property (nonatomic, strong) UIImageView *logoInvertedImageView;
@property (nonatomic, strong) UIButton *backButton;

//手机号输入框
@property (nonatomic, strong) UIImageView *phoneBgView;
@property (nonatomic, strong) UITextField *phoneField;
@property (nonatomic, strong) UIView *phoneLeftView;
@property (nonatomic, strong) UIImageView *phoneIconView;

//获取验证码按钮
@property (nonatomic, strong) UIButton *codeBtn;

//验证码输入框
@property (nonatomic, strong) UIImageView *codeBgView;
@property (nonatomic, strong) UITextField *codeField;
@property (nonatomic, strong) UIView *codeLeftView;
@property (nonatomic, strong) UIImageView *codeIconView;

//登录按钮
@property (nonatomic, strong) UIButton *loginButton;
@property (nonatomic, strong) UIButton *bindButton;
@property (nonatomic, strong) UIButton *protocolButton;
@property (nonatomic, strong) UILabel *tipLabel;
@property (nonatomic, strong) UIControl *protocalControl;

//第三方登录
@property (nonatomic, strong) UILabel *otherLoginLabel;
@property (nonatomic, strong) CAGradientLayer *leftLayer;
@property (nonatomic, strong) CAGradientLayer *rightLayer;
@property (nonatomic, strong) UIButton *WXLoginButton;
//@property (nonatomic, strong) UIButton *YKLoginButton;
- (void)makeBindUI;
@end
